package by.msokoloff.javaweb2015.webapp.page.country;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.Country;

public class CountryEditPanel extends Panel {
	
	public CountryEditPanel(String id, Country country) {
		super(id);
		add(new CountryForm("countryEditForm", new CompoundPropertyModel<Country>(country)));
	}

}
